import { HTTP } from '../utils/http.js'

class Shopdetails extends HTTP {

    // 商品列表
    commodity_detail(objs) {
        return this.request({
        url: '/commodity/commodity_detail',
        method: 'POST',
        header: {
        'content-type': 'application/x-www-form-urlencoded'
        },
        data: objs
        })
    }
    // 商品列表
    exchange(objs) {
        return this.request({
        url: '/commodity/exchange',
        method: 'POST',
        header: {
        'content-type': 'application/x-www-form-urlencoded'
        },
        data: objs
        })
    }
    

}

export { Shopdetails }